<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>用户登陆</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath }/pages/vendor/simple-line-icons/css/simple-line-icons.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath }/pages/vendor/font-awesome/css/fontawesome-all.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath }/pages/css/styles.css">
</head>
<body>
<div class="page-wrapper flex-row align-items-center">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-5">
                <div class="card p-4">
                    <div class="card-header text-center text-uppercase h4 font-weight-light">
                        登陆
                    </div>
                    <div><font color="red">${message}</font></div>
				<form method=POST action="<c:url value='/ManagementServlet'/>">
				<input type="hidden" name="method" value="doLogin"/>
                    <div class="card-body py-5">
                        <div class="form-group">
                            <label class="form-control-label">用户名(职工号)</label>
                            <input type="text" class="form-control" name="username" value="${requset.stu_id}"/>
                        </div>

                        <div class="form-group">
                            <label class="form-control-label">密码</label>
                            <input type="password" class="form-control" name="password"/>
                        </div>

                        <div class="custom-control custom-checkbox mt-4">
                            
                    </div>

                    <div class="card-footer">
                        <div class="row">
                            <div class="col-6">
                                <button type="submit" class="btn btn-primary px-5">登陆</button>
                            </div>

                            <div class="col-6">
                                <a href="#" class="btn btn-link">忘记密码?</a>
                            </div>
                        </div>
                    </div>
                </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script src="${pageContext.request.contextPath }/pages/vendor/jquery/jquery.min.js"></script>
<script src="${pageContext.request.contextPath }/pages/vendor/popper.js/popper.min.js"></script>
<script src="${pageContext.request.contextPath }/pages/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath }/pages/vendor/chart.js/chart.min.js"></script>
<script src="${pageContext.request.contextPath }/pages/js/carbon.js"></script>
<script src="${pageContext.request.contextPath }/pages/js/demo.js"></script>
</body>
</html>